/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PanelBiseccion.java
 *
 * Created on 11-oct-2010, 14:12:47
 */
package interfaz.FuncionPanels;

//import java.awt.FlowLayout;
//import javax.print.DocFlavor.STRING;
//import javax.management.monitor.GaugeMonitor;
import interfaz.InterfazProcesoSistEc;
import interfaz.NuMethodApp;
import javax.swing.JFrame;
//import javax.swing.SwingUtilities;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;

//import javax.swing.table.TableModel;
import metodos.sistec.Gaussiana;
import metodos.sistec.GaussianaPivParcial;
import metodos.sistec.GaussianaPivTotal;
import metodos.sistec.MatrizBanda;
//import org.jdesktop.swingx.JXTable;

/**
 *
 * @author The NuMethod Team
 */
public class PanelEliminacionGaussiana extends javax.swing.JPanel {

    public PanelEliminacionGaussiana() {
        initComponents();
        initComponents2();
    }

    private void initComponents2() {
        //this.jTable1.setVisible(false);
        this.TableA.setEditable(true);
        TableA.setShowGrid(true);
        TableA.setOpaque(true);
        TableA.setAutoStartEditOnKeyStroke(true);
        TableA.setRolloverEnabled(true);
        TableA.setSurrendersFocusOnKeystroke(true);
        TableA.setTerminateEditOnFocusLost(true);
        TableA.setFillsViewportHeight(true);
        TableA.setEditable(false);

        TableB.setEditable(false);

        TableX.setEditable(false);
        TableA.setVisibleColumnCount(0);

        rebuildTableModels(3);

        interfazProceso = new InterfazProcesoSistEc();
        etapas = null;
    }

    /**
     * Este metodo devuelve los valores existentes en las tablas a dos variables
     * <br>Pasadas como parametro.
     * 
     * <p>
     * WARNING: esta version hasta ahora no soporta variables distintas a numeros<br>
     * asi que se debe de tener cuidado de no ingresar ningun valor que no sea numerico en las tablas.
     * @param A
     * @param B
     */
    private void getDataFromTables(double[][] A, double[] B) {
        int rowCount = this.TableA.getModel().getRowCount();
        int columnCount = this.TableA.getModel().getColumnCount();
        // A = new double[rowCount][columnCount];
        //Obtener los datos desde el modelo de tabla actual
        for (int i = 0; i < rowCount; i++) {
            for (int j = 0; j < columnCount; j++) {
                A[i][j] = Double.parseDouble(TableA.getModel().getValueAt(i, j).toString());
                System.out.print(Double.parseDouble(this.TableA.getModel().getValueAt(i, j).toString()) + " ");
            }
            System.out.println("");
        }

        //Obtener los datos desde la tabla B
        //B = new double[rowCount];
        for (int i = 0; i < B.length; i++) {
            B[i] = Double.parseDouble(TableB.getModel().getValueAt(i, 0).toString());
        }

    }

    /**
     * Este metodo coloca datos tipo Double en la tabla X.
     * <br>WARNING: este metodo depende estrictamente de sus valores, cualquier intento de
     * <br>utilizar este metodo con unos datos extraños terminara en error
     * @param X los datos a poner en la tablaX
     */
    private void setDataToTableX(double[] X) {
        Double[] aX = new Double[X.length];
        int n = X.length;
        //La tabla solo recibe objetos tipo Double con "D" mayuscula, el tipo basico double con "d" minuscula no es un Object.
        for (int i = 0; i < n; i++) {
            aX[i] = new Double(X[i]);
        }

        DefaultTableModel t = (DefaultTableModel) TableX.getModel();

        for (int i = 0; i < n; i++) {
            t.setValueAt(aX[i], 0, i);
        }

        //Actualizar los datos en la tabla
        t.fireTableDataChanged();

    }

    /**
     * Metodo que reconstruye de forma dinamica los modelos de tabla
     * luego de cada entrada de datos
     * @param a
     */
    public void updateTableModels() {
        //COnfigurar los modelos de tabla para las 3 tablas disponibles.
        DefaultTableModel m = PanelMatriz.getMa();
        this.TableA.setModel(m);

        DefaultTableModel mB = PanelMatriz.getMb();
        this.TableB.setModel(mB);

        DefaultTableModel mX = PanelMatriz.getMx();
        TableX.setModel(mX);

        m.fireTableDataChanged();
        mB.fireTableDataChanged();
        mX.fireTableDataChanged();
    }

    public void rebuildTableModels(Integer a) {
        //Constuir el modelo para la tabla A
        Double[][] test = new Double[a][a];
        String[] names = new String[a];

        for (int i = 0; i < a; i++) {
            String aTest = "X" + (i + 1);
            names[i] = aTest;
        }

        //Constuir el modelo para la tabla B
        Double[][] testB = new Double[a][1];
        String[] namesB = new String[1];

        for (int i = 0; i < 1; i++) {
            String aTest = "B" + (i + 1);
            namesB[i] = aTest;
        }

        //Construir el Modelo para la tabla X
        Double[][] testX = new Double[1][a];
        String[] namesX = new String[a];


        for (int i = 0; i < a; i++) {
            String aTest = "X" + (i + 1);
            namesX[i] = aTest;
        }

        //COnfigurar los modelos de tabla para las 3 tablas disponibles.
        DefaultTableModel m = PanelMatriz.getMa();
        this.TableA.setModel(m);

        DefaultTableModel mB = PanelMatriz.getMb();
        this.TableB.setModel(mB);

        DefaultTableModel mX = PanelMatriz.getMx();
        TableX.setModel(mX);

        m.fireTableDataChanged();
        mB.fireTableDataChanged();
        mX.fireTableDataChanged();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        TableA = new org.jdesktop.swingx.JXTable();
        jButton2 = new javax.swing.JButton();
        jScrollPane2 = new javax.swing.JScrollPane();
        TableB = new org.jdesktop.swingx.JXTable();
        jScrollPane3 = new javax.swing.JScrollPane();
        TableX = new org.jdesktop.swingx.JXTable();
        jPanel1 = new javax.swing.JPanel();
        BotonGaussPivParcial = new org.jdesktop.swingx.JXButton();
        BotonGaussianaSimple = new org.jdesktop.swingx.JXButton();
        BotonGaussPivTotal = new javax.swing.JButton();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        BotonBanda = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        btnProceso = new javax.swing.JButton();

        setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
        setToolTipText("Eliminacion Gaussiana");

        TableA.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(TableA);

        jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/recursos/help.png"))); // NOI18N
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });

        TableB.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null},
                {null},
                {null},
                {null}
            },
            new String [] {
                "Title 1"
            }
        ));
        jScrollPane2.setViewportView(TableB);

        TableX.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane3.setViewportView(TableX);

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Eliminacion Gaussiana"));
        jPanel1.setToolTipText("Panel Eliminacion Gaussiana");

        BotonGaussPivParcial.setIcon(new javax.swing.ImageIcon(getClass().getResource("/recursos/kbounce.png"))); // NOI18N
        BotonGaussPivParcial.setText("Pivoteo Parcial");
        BotonGaussPivParcial.setToolTipText("Eliminacion Gaussiana con Pivoteo Parcial");
        BotonGaussPivParcial.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BotonGaussPivParcialActionPerformed(evt);
            }
        });

        BotonGaussianaSimple.setIcon(new javax.swing.ImageIcon(getClass().getResource("/recursos/agt_softwareD.png"))); // NOI18N
        BotonGaussianaSimple.setText("Eliminacion Gaussiana Simple");
        BotonGaussianaSimple.setToolTipText("Eliminacion Gaussiana Simple");
        BotonGaussianaSimple.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BotonGaussianaSimpleActionPerformed(evt);
            }
        });

        BotonGaussPivTotal.setIcon(new javax.swing.ImageIcon(getClass().getResource("/recursos/kcmmemory.png"))); // NOI18N
        BotonGaussPivTotal.setText("Pivoteo Total");
        BotonGaussPivTotal.setToolTipText("Eliminacion Gaussiana con Pivoteo Total");
        BotonGaussPivTotal.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BotonGaussPivTotalActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(BotonGaussianaSimple, javax.swing.GroupLayout.DEFAULT_SIZE, 233, Short.MAX_VALUE)
                    .addComponent(BotonGaussPivTotal, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(BotonGaussPivParcial, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addComponent(BotonGaussianaSimple, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(BotonGaussPivTotal)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 17, Short.MAX_VALUE)
                .addComponent(BotonGaussPivParcial, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        jPanel1Layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {BotonGaussPivParcial, BotonGaussPivTotal});

        jLabel4.setText("Matriz A");

        jLabel5.setText("Vector B");

        jLabel6.setText("Vector X");

        BotonBanda.setIcon(new javax.swing.ImageIcon(getClass().getResource("/recursos/konquest.png"))); // NOI18N
        BotonBanda.setToolTipText("Matriz Banda");
        BotonBanda.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BotonBandaActionPerformed(evt);
            }
        });

        jLabel1.setText("Eliminacion Gaussiana");

        btnProceso.setText("Ver proceso");
        btnProceso.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnProcesoActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 262, Short.MAX_VALUE)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(BotonBanda, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(12, 12, 12))
                            .addComponent(btnProceso)))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(jLabel6)
                        .addGroup(layout.createSequentialGroup()
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 510, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jLabel1)
                                .addComponent(jLabel4))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jLabel5)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE))))
                        .addComponent(jScrollPane3)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel1))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(jLabel4))
                .addGap(2, 2, 2)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jScrollPane2, 0, 0, Short.MAX_VALUE)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 163, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel6)
                .addGap(1, 1, 1)
                .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, 0)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(11, 11, 11)
                        .addComponent(BotonBanda)
                        .addGap(63, 63, 63)
                        .addComponent(btnProceso))
                    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed

        NuMethodApp.helpLauncher("EliminacionGaussiana.html");
    }//GEN-LAST:event_jButton2ActionPerformed

    private void BotonGaussianaSimpleActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BotonGaussianaSimpleActionPerformed
        // Modelo basico para pasar y recibir datos de las tablas
        // TODO Manejar los casos Iterativos Abiertos
        //        int rowCount = this.TableA.getModel().getRowCount();
        //        int columnCount = this.TableA.getModel().getColumnCount();
        //        double[][] A = new double[rowCount][columnCount];
        //        double[] B = new double[rowCount];
        //        double[] X = new double[columnCount];
        //
        //        getDataFromTables(A, B);
        //
        //        X = XXXXXXX.solucionar(A, B);
        //
        //        setDataToTableX(X);

        int rowCount = this.TableA.getModel().getRowCount();
        int columnCount = this.TableA.getModel().getColumnCount();
        double[][] A = new double[rowCount][columnCount];
        double[] B = new double[rowCount];
        double[] X = new double[columnCount];

        //Llenar las variable A y B desde las tablas
        getDataFromTables(A, B);

        etapas = Gaussiana.solucionar(A, B);
        interfazProceso.getLabelStatus().setText("Ultima Ejecucion: Eliminacion Gaussiana Simple");


        //Las variables estan llenas si se garantiza que habian numeros en las tablas
        //Usarlas
        X = Gaussiana.obtenerResultado(etapas[etapas.length - 1]);
        //Metodo para colocar datos en la tablaX
        setDataToTableX(X);

    }//GEN-LAST:event_BotonGaussianaSimpleActionPerformed

    private void BotonGaussPivParcialActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BotonGaussPivParcialActionPerformed
        int rowCount = this.TableA.getModel().getRowCount();
        int columnCount = this.TableA.getModel().getColumnCount();
        double[][] A = new double[rowCount][columnCount];
        double[] B = new double[rowCount];
        double[] X = new double[columnCount];

        //Llenar las variable A y B desde las tablas
        getDataFromTables(A, B);

        etapas = GaussianaPivParcial.solucionar(A, B);
        //Las variables estan llenas si se garantiza que habian numeros en las tablas
        //Usarlas
        X = GaussianaPivParcial.obtenerResultado(etapas[etapas.length - 1]);
        interfazProceso.getLabelStatus().setText("Ultima Ejecucion: Eliminacion Gaussiana con Pivoteo parcial");
        //Metodo para colocar datos en la tablaX
        setDataToTableX(X);
    }//GEN-LAST:event_BotonGaussPivParcialActionPerformed

    private void BotonGaussPivTotalActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BotonGaussPivTotalActionPerformed
        int rowCount = this.TableA.getModel().getRowCount();
        int columnCount = this.TableA.getModel().getColumnCount();
        double[][] A = new double[rowCount][columnCount];
        double[] B = new double[rowCount];
        double[] X = new double[columnCount];

        //Llenar las variable A y B desde las tablas
        getDataFromTables(A, B);

        //Las variables estan llenas si se garantiza que habian numeros en las tablas
        //Usarlas
        etapas = GaussianaPivTotal.solucionar(A, B);
        X = GaussianaPivTotal.obtenerResultado(etapas[etapas.length - 1]);
        interfazProceso.getLabelStatus().setText("Ultima Ejecucion: Eliminacion Gaussiana con Pivoteo Total");

        //Metodo para colocar datos en la tablaX
        setDataToTableX(X);
    }//GEN-LAST:event_BotonGaussPivTotalActionPerformed

    private void BotonBandaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BotonBandaActionPerformed
        int rowCount = this.TableA.getModel().getRowCount();
        int columnCount = this.TableA.getModel().getColumnCount();
        double[][] A = new double[rowCount][columnCount];
        double[] B = new double[rowCount];
        double[] X = new double[columnCount];

        double[] dp = new double[columnCount];
        double[] dss = new double[columnCount - 1];
        double[] di = new double[columnCount - 1];
        double[] dst = new double[columnCount - 2];
        //Llenar las variable A y B desde las tablas
        getDataFromTables(A, B);

        for (int i = 0; i < columnCount; i++) {
            dp[i] = A[i][i];
        }

        for (int i = 1; i < columnCount - 1; i++) {
            dss[i] = A[i - 1][i];
        }

        for (int i = 1; i < columnCount - 1; i++) {
            di[i - 1] = A[i][i + 1];
        }

        for (int i = 2; i < columnCount - 2; i++) {
            dst[i - 2] = A[i - 2][i];
        }


        //Las variables estan llenas si se garantiza que habian numeros en las tablas
        //Usarlas
        X = MatrizBanda.solucionar(dp, di, dss, dst, B);
        //Metodo para colocar datos en la tablaX
        setDataToTableX(X);
    }//GEN-LAST:event_BotonBandaActionPerformed

    private void btnProcesoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnProcesoActionPerformed
        if (etapas != null) {
            interfazProceso.setMatrizEtapas(etapas);
            interfazProceso.setEtapaActual(0);
            interfazProceso.setVisible(true);
        } else {
            JOptionPane.showMessageDialog(this, "No has ejecutado ningun Metodo", "Oops", JOptionPane.WARNING_MESSAGE);
        }
    }//GEN-LAST:event_btnProcesoActionPerformed
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton BotonBanda;
    private org.jdesktop.swingx.JXButton BotonGaussPivParcial;
    private javax.swing.JButton BotonGaussPivTotal;
    private org.jdesktop.swingx.JXButton BotonGaussianaSimple;
    private org.jdesktop.swingx.JXTable TableA;
    private org.jdesktop.swingx.JXTable TableB;
    private org.jdesktop.swingx.JXTable TableX;
    private javax.swing.JButton btnProceso;
    private javax.swing.JButton jButton2;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    // End of variables declaration//GEN-END:variables
    private double[][][] etapas;
    private InterfazProcesoSistEc interfazProceso;

}
